home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- access;
- symbols;
- locks
- dglattin:1.1; strict;
- comment @# @;
-
-
- 1.1
- date 92.08.18.04.58.04; author dglattin; state Exp;
- branches;
- next ;
-
-
- desc
- @test code.
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @#include <SubClass4.h>
- #include <stdio.h>
-
-
- @@implementation SubClass4
-
-
- + initialize {
-
-
- printf( "If you see this message then SubClass4 received a"
- " +initialize method\n" );
- return self;
- }
-
- +newOther {
-
-
- return [ super newOther ];
- }
-
-
- + ( int )return12 {
-
-
- [ SubClass1 newOther ]; /* Due to compiler design,
- this should not be a infinite loop. */
- return [ super return12 ] + 1 ;
- }
-
-
- - ( int )return15 {
-
-
- [ SubClass1 newOther ]; /* Due to compiler design,
- this should not be a infinite loop. */
- return [ super return15 ];
- }
- - ( int )return33 { return [ super return33 ] + 1; }
- - ( int )return45 {
-
-
- [ SubClass1 newOther ]; /* Due to compiler design,
- this should not be a infinite loop. */
- return 45;
- }
-
-
- @@end
- @
-